using DimensionsHelper.Common.Contracts;

namespace DimensionsHelper.Client.ViewModels.Message;

public partial class MessageViewModel : ObservableObject
{
    [ObservableProperty]
    private bool _isReportingProgress;


    [ObservableProperty]
    private string _localPath = string.Empty;

    [ObservableProperty]
    private string _message = string.Empty;


    [ObservableProperty]
    private ReportMessageType _messageType;


    [ObservableProperty]
    private double _progress;


    [ObservableProperty]
    private string _section = string.Empty;


    public bool IsProgressFinished => IsReportingProgress && Progress >= 100;
}